/**
 * @license
 * Copyright 2021 Du Tian Wei
 * SPDX-License-Identifier: Apache-2.0
 */

 $.ajax({
    url: 'js/htmls/dataset/htmls.html',
    dataType: 'text',
    async: false,
    success(data, status, xhr) {
        let componentName = 'ob-dataset-sider';
        let template = data;
        Vue.component(componentName, {
            data: function () {
                return {
                }
            },
            template: template
        });
        siderComponents.push({ name: componentName, icon: 'md-filing', tooltip: '数据集' });
    }
});